package com.fangngng.pushall.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * user_subcribe
 * @author 
 */
@Data
public class UserSubcribe implements Serializable {

    private static final long serialVersionUID = 4704377811925428216L;

    public static final Integer LIFECYCLE_ENABLE = 1;

    public static final Integer LIFECYCLE_DISABLE = 0;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private Integer userId;

    private Integer topicId;

    private Date createTime;

    private Integer status;

    private String email;

}